package cn.pku.sirx.snad.ads.wordsegmentation;

import java.util.List;

/**
 * @author WangXiao
 */
public interface IWordSegmentation {

	/**
	 * Segment the input string into words.
	 * 
	 * @param sentences
	 *            a string
	 * @return segmented words, keeping the original order
	 * @throws WordSegmentationException
	 */
	List<String> segmentWords(String sentences)
			throws WordSegmentationException;

}
